package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Elder;
import com.zzyl.nursing.domain.NursingTask;
import com.zzyl.nursing.dto.NursingTaskCancelDto;
import com.zzyl.nursing.dto.NursingTaskDoDto;
import com.zzyl.nursing.dto.NursingTaskDto;
import com.zzyl.nursing.dto.NursingTaskUpdateDto;
import com.zzyl.nursing.vo.NursingTaskVo;

import java.util.List;

/**
 * 护理任务Service接口
 *
 * @author ruoyi
 * @date 2024-09-27
 */
public interface INursingTaskService extends IService<NursingTask>
{
    /**
     * 生成护理任务
     * @param elder
     */
    void createMonthTask(Elder elder);

    List<NursingTask> selectNursingTaskList(NursingTaskDto nursingTaskListDto);

    NursingTask selectNursingTaskById(Integer id);

    void cancelNursingTask(NursingTaskCancelDto NursingTaskCancelDto);

    void doNursingTask(NursingTaskDoDto nursingTaskDoDto);

    void updateNursingTask(NursingTaskUpdateDto nursingTaskUpdateDto);
}
